package com.ctvit.sjk.knowledge.dataset.pojo.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 知识库基础DTO
 *
 * @author heyingcheng
 * @date 2025/03/24
 */
@Getter
@Setter
@ToString
public class DatasetBaseDTO {

    @NotBlank(message = "知识库名称不能为空")
    protected String name;
    @NotBlank(message = "知识库描述不能为空")
    protected String desc;
    @JsonProperty("embedding_mode_id")
    @NotBlank(message = "向量模型不能为空")
    protected String embeddingModelId;

}
